package gtkwire.gobject;

//import gtkwire.*;

public class GtkTreeSelection extends GObject
{

	public GtkTreeSelection()
	{
		super( GO_GtkTreeSelection );
	}
	
/*
GTK_SELECTION_NONE
	No selection is possible.

GTK_SELECTION_SINGLE
	Zero or one element may be selected.

GTK_SELECTION_BROWSE
	Exactly one element is selected. In some circumstances, such as initially or during a search operation, it's possible for no element to be selected with GTK_SELECTION_BROWSE. What is really enforced is that the user can't deselect a currently selected element except by selecting another element.

GTK_SELECTION_MULTIPLE
	Any number of elements may be selected. Clicks toggle the state of an item. Any number of elements may be selected. The Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to. Some widgets may also allow Click-drag to select a range of elements.









void                gtk_tree_selection_set_mode         (GtkTreeSelection *selection,
                                                         GtkSelectionMode type);


GtkSelectionMode    gtk_tree_selection_get_mode         (GtkTreeSelection *selection);



GtkTreeView*        gtk_tree_selection_get_tree_view    (GtkTreeSelection *selection);
gboolean            gtk_tree_selection_get_selected     (GtkTreeSelection *selection,
                                                         GtkTreeModel **model,
                                                         GtkTreeIter *iter);

GList*              gtk_tree_selection_get_selected_rows
                                                        (GtkTreeSelection *selection,
                                                         GtkTreeModel **model);
gint                gtk_tree_selection_count_selected_rows
                                                        (GtkTreeSelection *selection);
void                gtk_tree_selection_select_path      (GtkTreeSelection *selection,
                                                         GtkTreePath *path);
void                gtk_tree_selection_unselect_path    (GtkTreeSelection *selection,
                                                         GtkTreePath *path);
gboolean            gtk_tree_selection_path_is_selected (GtkTreeSelection *selection,
                                                         GtkTreePath *path);
void                gtk_tree_selection_select_iter      (GtkTreeSelection *selection,
                                                         GtkTreeIter *iter);
void                gtk_tree_selection_unselect_iter    (GtkTreeSelection *selection,
                                                         GtkTreeIter *iter);
gboolean            gtk_tree_selection_iter_is_selected (GtkTreeSelection *selection,
                                                         GtkTreeIter *iter);
void                gtk_tree_selection_select_all       (GtkTreeSelection *selection);
void                gtk_tree_selection_unselect_all     (GtkTreeSelection *selection);
void                gtk_tree_selection_select_range     (GtkTreeSelection *selection,
                                                         GtkTreePath *start_path,
                                                         GtkTreePath *end_path);
void                gtk_tree_selection_unselect_range   (GtkTreeSelection *selection,
                                                         GtkTreePath *start_path,
                                                         GtkTreePath *end_path);
*/

}//end class